'use strict';

var express = require('express');
var router = express.Router();
var salesController = require('../controllers/sales.controller');

// 添加sales
router.post('/sales/add',salesController.add);

// 搜索sales
router.post('/sales/search',salesController.search);

// 修改sales
router.post('/sales/set',salesController.set);

// 删除sales
router.delete('/sales/del',salesController.del);


module.exports = router;
